package com.yunshipei.ui.fragment;

import android.content.Context;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.text.TextUtils;

import com.yunshipei.common.manager.EnterConfig;
import com.yunshipei.common.net.ProxySettings;

public abstract class H5BaseFragment extends BaseNavItemFragment {

    protected Context mContext;
    protected String mManagerServer;

    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        mContext = getActivity();
        mManagerServer = EnterConfig.getInstance().getManagerServer();
    }

    public abstract void startProxy();

    public abstract boolean pageCanGoBack();

    public abstract void pageGoBack();
}
